package com.system.function.dao;

import com.system.function.object.Warehouse;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface WarehouseDAO {

    //查询全部
    List<Warehouse> getAllWarehouse(Warehouse Warehouse);
    //查询总数
    int getCountWarehouse(Warehouse Warehouse);
    //查询
    Warehouse getWarehouse(Warehouse Warehouse);
    //增加
    int addWarehouse(Warehouse Warehouse);
    //删除
    int delWarehouse(Warehouse Warehouse);
    //修改
    int updateWarehouse(Warehouse Warehouse);



}
